package com.house.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.*;
import com.baomidou.mybatisplus.annotation.TableField;
import java.util.*;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.*;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.*;
import com.house.framework.entity.BaseEntity;
import java.util.*;
import java.io.Serializable;
import java.util.*;
import java.math.BigDecimal;
import java.util.*;
import java.time.LocalDateTime;
import java.util.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
* <p>
* 租赁信息表
* </p>
*
* @since 2023-05-09
*/
@Getter
@Setter
@TableName("t_leasing_information")
@ApiModel(value = "LeasingInformation对象", description = "租赁信息表")
public class LeasingInformation extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("租赁信息表主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("房源id")
    @TableField("house_id")
    private Long houseId;

    @ApiModelProperty("房源名字")
    @TableField("house_name")
    private String houseName;

    @ApiModelProperty("地址")
    @TableField("address")
    private String address;

    @ApiModelProperty("租客")
    @TableField("tenant_name")
    private String tenantName;

    @ApiModelProperty("租客id")
    @TableField("tenant_id")
    private Long tenantId;

    @ApiModelProperty("租赁时间")
    @TableField("lease_time")
    private String leaseTime;

    @ApiModelProperty("租赁状态（0：出租中；1：已到期）")
    @TableField("lease_state")
    private Integer leaseState;

    @ApiModelProperty("缴费金额")
    @TableField("pay_amount")
    private BigDecimal payAmount;

    @ApiModelProperty("租金状态（0：未缴费；1：已缴费）")
    @TableField("rent_state")
    private Integer rentState;

    @ApiModelProperty("应缴时间")
    @TableField("payable_time")
    private Date payableTime;

    @ApiModelProperty("实缴时间")
    @TableField("paid_in_time")
    private Date paidInTime;

    @ApiModelProperty("合同")
    @TableField("contract_img")
    private String contractImg;


}
